{"ast":null,"code":"import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"steps\", \"defaultCurrent\", \"current\", \"onChange\", \"onClose\", \"onFinish\", \"open\", \"mask\", \"arrow\", \"rootClassName\", \"placement\", \"renderPanel\", \"gap\", \"animated\"];\nimport * as React from 'react';\nimport Trigger from 'rc-trigger';\nimport Portal from '@rc-component/portal';\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport useTarget from \"./hooks/useTarget\";\nimport TourStep from \"./TourStep\";\nimport Mask from \"./Mask\";\nimport placements, { getCenterPlacements } from \"./placements\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nvar CENTER_ALIGN = {\n  points: ['cc', 'cc'],\n  offset: [0, 0]\n};\nvar CENTER_PLACEHOLDER = {\n  left: '50%',\n  top: '50%',\n  width: 1,\n  height: 1\n};\nvar Tour = function Tour(props) {\n  var _props$prefixCls = props.prefixCls,\n    prefixCls = _props$prefixCls === void 0 ? 'rc-tour' : _props$prefixCls,\n    _props$steps = props.steps,\n    steps = _props$steps === void 0 ? [] : _props$steps,\n    defaultCurrent = props.defaultCurrent,\n    current = props.current,\n    onChange = props.onChange,\n    onClose = props.onClose,\n    _onFinish = props.onFinish,\n    open = props.open,\n    _props$mask = props.mask,\n    mask = _props$mask === void 0 ? true : _props$mask,\n    _props$arrow = props.arrow,\n    arrow = _props$arrow === void 0 ? true : _props$arrow,\n    rootClassName = props.rootClassName,\n    _props$placement = props.placement,\n    placement = _props$placement === void 0 ? 'bottom' : _props$placement,\n    renderPanel = props.renderPanel,\n    gap = props.gap,\n    animated = props.animated,\n    restProps = _objectWithoutProperties(props, _excluded);\n  var _useMergedState = useMergedState(0, {\n      value: current,\n      defaultValue: defaultCurrent\n    }),\n    _useMergedState2 = _slicedToArray(_useMergedState, 2),\n    mergedCurrent = _useMergedState2[0],\n    setMergedCurrent = _useMergedState2[1];\n  var _useMergedState3 = useMergedState(undefined, {\n      value: open,\n      postState: function postState(origin) {\n        return mergedCurrent < 0 || mergedCurrent >= steps.length ? false : origin !== null && origin !== void 0 ? origin : true;\n      }\n    }),\n    _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n    mergedOpen = _useMergedState4[0],\n    setMergedOpen = _useMergedState4[1];\n  var openRef = React.useRef(mergedOpen);\n  useLayoutEffect(function () {\n    if (mergedOpen && !openRef.current) {\n      setMergedCurrent(0);\n    }\n    openRef.current = mergedOpen;\n  }, [mergedOpen]);\n  var _ref = steps[mergedCurrent] || {},\n    target = _ref.target,\n    stepPlacement = _ref.placement,\n    stepStyle = _ref.style,\n    stepArrow = _ref.arrow,\n    stepClassName = _ref.className,\n    stepMask = _ref.mask;\n  var mergedPlacement = stepPlacement !== null && stepPlacement !== void 0 ? stepPlacement : placement;\n  var mergedMask = mergedOpen && (stepMask !== null && stepMask !== void 0 ? stepMask : mask);\n  var _useTarget = useTarget(target, open, gap),\n    _useTarget2 = _slicedToArray(_useTarget, 2),\n    posInfo = _useTarget2[0],\n    targetElement = _useTarget2[1]; // ========================= arrow =========================\n\n  var mergedArrow = targetElement ? typeof stepArrow === 'undefined' ? arrow : stepArrow : false;\n  var arrowPointAtCenter = _typeof(mergedArrow) === 'object' ? mergedArrow.pointAtCenter : false; // ========================= Change =========================\n\n  var onInternalChange = function onInternalChange(nextCurrent) {\n    setMergedCurrent(nextCurrent);\n    onChange === null || onChange === void 0 ? void 0 : onChange(nextCurrent);\n  }; // ========================= popupAlign =========================\n\n  var popupAlign = targetElement ? arrowPointAtCenter ? getCenterPlacements({\n    placement: placement\n  }) : placements[mergedPlacement] : CENTER_ALIGN; // ========================= Render =========================\n  // Skip if not init yet\n\n  if (targetElement === undefined) {\n    return null;\n  }\n  var handleClose = function handleClose() {\n    setMergedOpen(false);\n    onClose === null || onClose === void 0 ? void 0 : onClose(mergedCurrent);\n  };\n  var getPopupElement = function getPopupElement() {\n    return /*#__PURE__*/React.createElement(TourStep, _extends({\n      arrow: mergedArrow,\n      key: \"content\",\n      prefixCls: prefixCls,\n      total: steps.length,\n      renderPanel: renderPanel,\n      onPrev: function onPrev() {\n        onInternalChange(mergedCurrent - 1);\n      },\n      onNext: function onNext() {\n        onInternalChange(mergedCurrent + 1);\n      },\n      onClose: handleClose,\n      current: mergedCurrent,\n      onFinish: function onFinish() {\n        handleClose();\n        _onFinish === null || _onFinish === void 0 ? void 0 : _onFinish();\n      }\n    }, steps[mergedCurrent]));\n  };\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Trigger, _extends({}, restProps, {\n    popupAlign: popupAlign,\n    popupStyle: stepStyle,\n    popupPlacement: mergedPlacement,\n    builtinPlacements: placements,\n    popupVisible: mergedOpen,\n    popupClassName: classNames(rootClassName, stepClassName),\n    prefixCls: prefixCls,\n    popup: getPopupElement,\n    forceRender: false,\n    destroyPopupOnHide: true,\n    zIndex: 1090\n  }), /*#__PURE__*/React.createElement(Portal, {\n    open: mergedOpen,\n    autoLock: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(rootClassName, \"\".concat(prefixCls, \"-target-placeholder\")),\n    style: _objectSpread(_objectSpread({}, posInfo || CENTER_PLACEHOLDER), {}, {\n      position: 'fixed',\n      pointerEvents: 'none'\n    })\n  }))), /*#__PURE__*/React.createElement(Mask, {\n    prefixCls: prefixCls,\n    pos: posInfo,\n    mask: mergedMask,\n    open: mergedOpen,\n    animated: animated,\n    rootClassName: rootClassName\n  }));\n};\nexport default Tour;","map":{"version":3,"names":["_objectSpread","_extends","_typeof","_slicedToArray","_objectWithoutProperties","_excluded","React","Trigger","Portal","classNames","useMergedState","useTarget","TourStep","Mask","placements","getCenterPlacements","useLayoutEffect","CENTER_ALIGN","points","offset","CENTER_PLACEHOLDER","left","top","width","height","Tour","props","_props$prefixCls","prefixCls","_props$steps","steps","defaultCurrent","current","onChange","onClose","_onFinish","onFinish","open","_props$mask","mask","_props$arrow","arrow","rootClassName","_props$placement","placement","renderPanel","gap","animated","restProps","_useMergedState","value","defaultValue","_useMergedState2","mergedCurrent","setMergedCurrent","_useMergedState3","undefined","postState","origin","length","_useMergedState4","mergedOpen","setMergedOpen","openRef","useRef","_ref","target","stepPlacement","stepStyle","style","stepArrow","stepClassName","className","stepMask","mergedPlacement","mergedMask","_useTarget","_useTarget2","posInfo","targetElement","mergedArrow","arrowPointAtCenter","pointAtCenter","onInternalChange","nextCurrent","popupAlign","handleClose","getPopupElement","createElement","key","total","onPrev","onNext","Fragment","popupStyle","popupPlacement","builtinPlacements","popupVisible","popupClassName","popup","forceRender","destroyPopupOnHide","zIndex","autoLock","concat","position","pointerEvents","pos"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@rc-component/tour/es/Tour.js"],"sourcesContent":["import _objectSpread from \"@babel/runtime/helpers/esm/objectSpread2\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _typeof from \"@babel/runtime/helpers/esm/typeof\";\nimport _slicedToArray from \"@babel/runtime/helpers/esm/slicedToArray\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nvar _excluded = [\"prefixCls\", \"steps\", \"defaultCurrent\", \"current\", \"onChange\", \"onClose\", \"onFinish\", \"open\", \"mask\", \"arrow\", \"rootClassName\", \"placement\", \"renderPanel\", \"gap\", \"animated\"];\nimport * as React from 'react';\nimport Trigger from 'rc-trigger';\nimport Portal from '@rc-component/portal';\nimport classNames from 'classnames';\nimport useMergedState from \"rc-util/es/hooks/useMergedState\";\nimport useTarget from \"./hooks/useTarget\";\nimport TourStep from \"./TourStep\";\nimport Mask from \"./Mask\";\nimport placements, { getCenterPlacements } from \"./placements\";\nimport useLayoutEffect from \"rc-util/es/hooks/useLayoutEffect\";\nvar CENTER_ALIGN = {\n  points: ['cc', 'cc'],\n  offset: [0, 0]\n};\nvar CENTER_PLACEHOLDER = {\n  left: '50%',\n  top: '50%',\n  width: 1,\n  height: 1\n};\n\nvar Tour = function Tour(props) {\n  var _props$prefixCls = props.prefixCls,\n      prefixCls = _props$prefixCls === void 0 ? 'rc-tour' : _props$prefixCls,\n      _props$steps = props.steps,\n      steps = _props$steps === void 0 ? [] : _props$steps,\n      defaultCurrent = props.defaultCurrent,\n      current = props.current,\n      onChange = props.onChange,\n      onClose = props.onClose,\n      _onFinish = props.onFinish,\n      open = props.open,\n      _props$mask = props.mask,\n      mask = _props$mask === void 0 ? true : _props$mask,\n      _props$arrow = props.arrow,\n      arrow = _props$arrow === void 0 ? true : _props$arrow,\n      rootClassName = props.rootClassName,\n      _props$placement = props.placement,\n      placement = _props$placement === void 0 ? 'bottom' : _props$placement,\n      renderPanel = props.renderPanel,\n      gap = props.gap,\n      animated = props.animated,\n      restProps = _objectWithoutProperties(props, _excluded);\n\n  var _useMergedState = useMergedState(0, {\n    value: current,\n    defaultValue: defaultCurrent\n  }),\n      _useMergedState2 = _slicedToArray(_useMergedState, 2),\n      mergedCurrent = _useMergedState2[0],\n      setMergedCurrent = _useMergedState2[1];\n\n  var _useMergedState3 = useMergedState(undefined, {\n    value: open,\n    postState: function postState(origin) {\n      return mergedCurrent < 0 || mergedCurrent >= steps.length ? false : origin !== null && origin !== void 0 ? origin : true;\n    }\n  }),\n      _useMergedState4 = _slicedToArray(_useMergedState3, 2),\n      mergedOpen = _useMergedState4[0],\n      setMergedOpen = _useMergedState4[1];\n\n  var openRef = React.useRef(mergedOpen);\n  useLayoutEffect(function () {\n    if (mergedOpen && !openRef.current) {\n      setMergedCurrent(0);\n    }\n\n    openRef.current = mergedOpen;\n  }, [mergedOpen]);\n\n  var _ref = steps[mergedCurrent] || {},\n      target = _ref.target,\n      stepPlacement = _ref.placement,\n      stepStyle = _ref.style,\n      stepArrow = _ref.arrow,\n      stepClassName = _ref.className,\n      stepMask = _ref.mask;\n\n  var mergedPlacement = stepPlacement !== null && stepPlacement !== void 0 ? stepPlacement : placement;\n  var mergedMask = mergedOpen && (stepMask !== null && stepMask !== void 0 ? stepMask : mask);\n\n  var _useTarget = useTarget(target, open, gap),\n      _useTarget2 = _slicedToArray(_useTarget, 2),\n      posInfo = _useTarget2[0],\n      targetElement = _useTarget2[1]; // ========================= arrow =========================\n\n\n  var mergedArrow = targetElement ? typeof stepArrow === 'undefined' ? arrow : stepArrow : false;\n  var arrowPointAtCenter = _typeof(mergedArrow) === 'object' ? mergedArrow.pointAtCenter : false; // ========================= Change =========================\n\n  var onInternalChange = function onInternalChange(nextCurrent) {\n    setMergedCurrent(nextCurrent);\n    onChange === null || onChange === void 0 ? void 0 : onChange(nextCurrent);\n  }; // ========================= popupAlign =========================\n\n\n  var popupAlign = targetElement ? arrowPointAtCenter ? getCenterPlacements({\n    placement: placement\n  }) : placements[mergedPlacement] : CENTER_ALIGN; // ========================= Render =========================\n  // Skip if not init yet\n\n  if (targetElement === undefined) {\n    return null;\n  }\n\n  var handleClose = function handleClose() {\n    setMergedOpen(false);\n    onClose === null || onClose === void 0 ? void 0 : onClose(mergedCurrent);\n  };\n\n  var getPopupElement = function getPopupElement() {\n    return /*#__PURE__*/React.createElement(TourStep, _extends({\n      arrow: mergedArrow,\n      key: \"content\",\n      prefixCls: prefixCls,\n      total: steps.length,\n      renderPanel: renderPanel,\n      onPrev: function onPrev() {\n        onInternalChange(mergedCurrent - 1);\n      },\n      onNext: function onNext() {\n        onInternalChange(mergedCurrent + 1);\n      },\n      onClose: handleClose,\n      current: mergedCurrent,\n      onFinish: function onFinish() {\n        handleClose();\n        _onFinish === null || _onFinish === void 0 ? void 0 : _onFinish();\n      }\n    }, steps[mergedCurrent]));\n  };\n\n  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Trigger, _extends({}, restProps, {\n    popupAlign: popupAlign,\n    popupStyle: stepStyle,\n    popupPlacement: mergedPlacement,\n    builtinPlacements: placements,\n    popupVisible: mergedOpen,\n    popupClassName: classNames(rootClassName, stepClassName),\n    prefixCls: prefixCls,\n    popup: getPopupElement,\n    forceRender: false,\n    destroyPopupOnHide: true,\n    zIndex: 1090\n  }), /*#__PURE__*/React.createElement(Portal, {\n    open: mergedOpen,\n    autoLock: true\n  }, /*#__PURE__*/React.createElement(\"div\", {\n    className: classNames(rootClassName, \"\".concat(prefixCls, \"-target-placeholder\")),\n    style: _objectSpread(_objectSpread({}, posInfo || CENTER_PLACEHOLDER), {}, {\n      position: 'fixed',\n      pointerEvents: 'none'\n    })\n  }))), /*#__PURE__*/React.createElement(Mask, {\n    prefixCls: prefixCls,\n    pos: posInfo,\n    mask: mergedMask,\n    open: mergedOpen,\n    animated: animated,\n    rootClassName: rootClassName\n  }));\n};\n\nexport default Tour;"],"mappings":"AAAA,OAAOA,aAAa,MAAM,0CAA0C;AACpE,OAAOC,QAAQ,MAAM,oCAAoC;AACzD,OAAOC,OAAO,MAAM,mCAAmC;AACvD,OAAOC,cAAc,MAAM,0CAA0C;AACrE,OAAOC,wBAAwB,MAAM,oDAAoD;AACzF,IAAIC,SAAS,GAAG,CAAC,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,aAAa,EAAE,KAAK,EAAE,UAAU,CAAC;AAC/L,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,OAAOC,OAAO,MAAM,YAAY;AAChC,OAAOC,MAAM,MAAM,sBAAsB;AACzC,OAAOC,UAAU,MAAM,YAAY;AACnC,OAAOC,cAAc,MAAM,iCAAiC;AAC5D,OAAOC,SAAS,MAAM,mBAAmB;AACzC,OAAOC,QAAQ,MAAM,YAAY;AACjC,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,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